package com.cskaoyan.bean.wx.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author
 * @date 2020/12/9 16:59
 */
@Data
public class IndexCouponVo {
    Integer id;
    String name;
    String desc;
    String tag;
    BigDecimal discount;
    BigDecimal min;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    Date endTime;
    Short days;


}
